package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

/**
*
* @author laozhang
* @date 2022-02-16
*/

@Data
@TableName(value = "t_member_recommend")
@Accessors(chain = true)
public class TMemberRecommend {
    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 会员id
     */
    @ApiModelProperty("会员id用autoId的值")
    @TableField(value = "m_id")
    private Integer mId;

    /**
     * 真实姓名
     */
    @ApiModelProperty("真实姓名")
    @TableField(value = "real_name")
    private String realName;

    /**
     * 用户昵称
     */
    @ApiModelProperty("用户昵称")
    @TableField(value = "nick_name")
    private String nickName;

    /**
     * 手机号
     */
    @ApiModelProperty("手机号")
    @TableField(value = "phone")
    private String phone;

    /**
     * 标签
     */
    @ApiModelProperty("标签")
    @TableField(value = "label")
    private String label;

    /**
     * 排序
     */
    @ApiModelProperty("排序")
    @TableField(value = "sort")
    private Integer sort;


    @ApiModelProperty("创建时间")
    @TableField(value = "add_time")
    private LocalDateTime addTime;

}